#ifndef FUFU_H
#define FUFU_H

#include<QPixmap>
#include<QTimer>
#include"config.h"

class fufu{
public:
    fufu();
    QPixmap getImg();
    void jump();
    void updateY();
    //fufu设定
    QPixmap runimg;
    QPixmap jumpimg;

    QTimer runtimer;
    QTimer jumptimer;

    int x=100;
    int y=FUFU_ONGROUND_Y;
    float downspeed;
    bool jump1;
    bool jump2;

    QRect fufurect;
};

#endif // FUFU_H
